﻿using System;
using System.Collections;

namespace QQ2564874169.Core.ORM
{
    public interface IDbCore : IDisposable
    {
        event EventHandler<TransactionFinishEventArgs> TransactionBefore;
        event EventHandler<TransactionFinishEventArgs> TransactionAfter;

        Hashtable Data { get; }
        bool InTransaction { get; }
        ITransactionScope Transaction();
    }
}
